﻿using Microsoft.Office.Tools.Ribbon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FinancialReportPowerPointAddIn
{
    public partial class CustomRibbon
    {      

        private void btn生成_Click(object sender, RibbonControlEventArgs e)
        {
            GenerateReportForm grForm = GenerateReportForm.GetWindow();
            grForm.Show();
            grForm.WindowState = System.Windows.Forms.FormWindowState.Normal;
            grForm.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            grForm.Activate();
        }
    }
}
